package com.jcfy.project.module.mapper;

import java.util.List;

import com.jcfy.project.module.domain.TWithdraw;

/**
 * 提现Mapper接口
 *
 * @author jiangfeng
 * @date 2020-08-05
 */
public interface TWithdrawMapper {
    /**
     * 查询提现
     *
     * @param withdrawId 提现ID
     * @return 提现
     */
    public TWithdraw selectTWithdrawById(Long withdrawId);

    /**
     * 查询提现列表
     *
     * @param tWithdraw 提现
     * @return 提现集合
     */
    public List<TWithdraw> selectTWithdrawList(TWithdraw tWithdraw);

    /**
     * 新增提现
     *
     * @param tWithdraw 提现
     * @return 结果
     */
    public int insertTWithdraw(TWithdraw tWithdraw);

    /**
     * 修改提现
     *
     * @param tWithdraw 提现
     * @return 结果
     */
    public int updateTWithdraw(TWithdraw tWithdraw);

    /**
     * 删除提现
     *
     * @param withdrawId 提现ID
     * @return 结果
     */
    public int deleteTWithdrawById(Long withdrawId);

    /**
     * 批量删除提现
     *
     * @param withdrawIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTWithdrawByIds(Long[] withdrawIds);
}
